package com.ucode.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ucode.crm.mode.FollowupRecord;

public interface FollowupRecordMapper {

    public int insert(FollowupRecord followupRecord);
    
    public int delete(Long id);
    
    public int batchDelete(List<Long> ids);
    
    public FollowupRecord findById(Long id);
    
    public List<FollowupRecord> findByIds(List<Long> ids);
    
    public List<FollowupRecord> queryList(@Param("keyword")String keyword,@Param("targetType") Integer targetType,@Param("targetId") Long targetId,@Param("contactsId") Long contactsId);
}
